package com.wdb007.venus.svc.dal.user.dao;

import java.util.List;

import com.wdb007.venus.svc.dal.user.model.WxUserRelationDO;

public interface WxUserRelationDAO {
	
    int insert(WxUserRelationDO record);
    
    int update(WxUserRelationDO record);
    
    int updateById(WxUserRelationDO record);
    
    int updateUseridNullByUserid(WxUserRelationDO record);
    
    int updateUseridByUnionid(WxUserRelationDO record);
    
    List<WxUserRelationDO> listByCondition(WxUserRelationDO query);
    
    WxUserRelationDO getInfoById(WxUserRelationDO record);
    
    String getOpenIdByUser(Long userId);
}